﻿using System;

namespace CrazyBeavers.Geodesy.Extensions
{
    public static class Double
    {
        public static double ToDegrees(this double d)
        {
            return d * (180d / Math.PI);
        }

        public static double ToRadians(this double d)
        {
            return d * (Math.PI / 180d);
        }
    }
}
